<div class="swiper-slide-page page mypublic">
	<div class="tabs">
		<div ng-class="{active: activetype == 0}" ng-click="activetype = 0" class="tab">我的产品</div>
		<div ng-class="{active: activetype == 1}" ng-click="activetype = 1" class="tab">我的需求</div>
	</div>
	<div class="panels" infinite-scroll="loadData()" infinite-scroll-distance="0">
		<div class="panel emptypanel" ng-show="activetype == 0 && items.length == 0">
			你还没有发布过产品
		</div>
		<div class="panel emptypanel" ng-show="activetype == 1 && items.length == 0">
			你还没有发布过需求
		</div>
		<div class="panel" ng-if="activetype == 1" ng-repeat="i in items">
			<a href="#!/demand?id={{i.id}}">
				<div class="l1">
					{{i.demandName}} <span ng-show="i.isTrue" class="label">真实需求</span>
					<span class="price">￥{{i.priceRange}}</span>
				</div>
				<div class="l2">
					<span>浏览：{{i.scanNum}}</span>
					<span><i class="i address"></i>{{i.address.split('-').pop()}}</span>
					<span class="time">{{i.publishTime}}</span>
				</div>
			</a>
		</div>
		<div class="panel" ng-if="activetype == 0" ng-repeat="i in items">
			<a href="#!/product?id={{i.id}}">
				<div class="l1">
					{{i.productName}}
					<span class="price">￥{{i.priceRange}}</span>
				</div>
				<div class="l2">
					<span>浏览：{{i.scanNum}}</span>
					<span>成交：{{i.dealNum}}</span>
					<span><i class="i address"></i>{{i.address.split('-').pop()}}</span>
					<span class="time">{{i.publishTime}}</span>
				</div>
			</a>
		</div>
	</div>
</div>
